MuleSoft Accelerator for SAP
Data lakes integration SAP S4HANA setup guide
Custom CDS View for Inventory Management
The following describes how to create a custom CDS View in S/4HANA Cloud to retrieve storage location information.
Step 1: Creating a CDS View
- Sign in to your S/4HANA Cloud instance and look for the Custom CDS View app.
- Click Create and complete the name of the new custom CDS view. For example:
- Select
I_StorageLocation
as the Primary Data Source: - At the Elements step, click the Add button and select 'Elements':
- When the pop-up screen appears, select the element 'Storage Location Name':
- When finished, click the Publish button.
Step 2: Creating a custom communication scenario
Once the CDS view is published, you must create a custom communication scenario to allow the consumption of the view.
To create:
- Look for the Custom Communication Scenario app and click New:
- Define a name and description for the new communication scenario:
- On the Inbound Services tab, click the Add button and look for the CDS view that was created in the previous steps:
- When finished, click the Publish button.
Step 3: Creating a communication arrangement
The last step is to create a communication arrangement for the communication scenario.
To create:
- Go to the Communication Arrangement app and click the Create button:
- Look for the custom communication scenario from the previous step and click the Create button:
- Select or create a new communication system, which contains the technical user needed for basic authentication, and then click the Save button.